package test;

public class Demo3 {
    public static void main(String[] args) {
        Thread thread = new Thread(){
            @Override
            public void run() {
                System.out.println("Hello Thread");
            }
        };

        thread.start();
        System.out.println("Hello main");
    }
}
